package com.platform.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 运动币记录表实体
 * 表名 t_income_coin
 *
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class IncomeCoinEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //交易编号
    private String tradeNo;
    //邀请人
    private Long uid;
    //手机号
    private String phone;
    //币数量
    private BigDecimal sportCoin;
    //兑换距离
    private BigDecimal distance;
    //被邀请人id
    private Long inviteUid;
    //被邀请人手机号
    private String invitePhone;
    //1注册2兑换3消费4.done兑换
    private Integer type;
    //状态 0无效1有效
    private Integer statu;
    //创建时间
    private Date createdDate;
    //消费昵称
    private String inviteName;
    //消费头像
    private String inviteLogo;

}
